package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/kafka")
public class KafkaDemoController {

    @RequestMapping("/demo")
    public String query() {
        System.out.println("welcome to kafka index.");
        return "kafka/index";
    }

}